﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Silvery;
using Silvery.Role.Simple;
namespace Sample02_Role
{
    public class Sample_2 : GameRoot
    {
        public Sample_2()
        {
            SimpleRole_NPC npc = new SimpleRole_NPC(new Uri("download/Sample_Role/NPC0001.zip", UriKind.Relative));
            AddBaseObj(npc);
            npc.RoleName = "我是一个NPC";
            npc.Position = new Point(200, 200);

            npc = new SimpleRole_NPC(new Uri("download/Sample_Role/NPC0001.zip", UriKind.Relative));
            AddBaseObj(npc);
            npc.RoleName = "我也是个NPC";
            npc.Position = new Point(400, 200);
            npc.IsMirror = true;            
        }
    }
}
